package com.example.work4.http.body;

import com.example.work4.po.SSOInfo;

public class StaticRequestBody {

    public MomentSelectBody momentSelectBody;

    private static StaticRequestBody staticRequestBody = null;

    public static StaticRequestBody getStaticRequestBody(){
        if(staticRequestBody == null){
            staticRequestBody = new StaticRequestBody();
        }
        return staticRequestBody;
    }

    private StaticRequestBody(){
        momentSelectBody = new MomentSelectBody();
        momentSelectBody.setCurId(-1);
        momentSelectBody.setSize(10);
        momentSelectBody.setUserId(SSOInfo.INSTANCE.getId());
    }
}
